package com.sservice.service.service.impl;

import com.sservice.model.dao.ClienteleReconciliationMapper;
import com.sservice.model.entity.ClienteleReconciliation;
import com.sservice.model.vo.ClienteleReconciliationVo;
import com.sservice.service.service.ClienteleReconciliationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by suweiming on 2017/12/20.
 */

@Service
public class ClienteleReconciliationServiceImpl implements ClienteleReconciliationService {
    @Autowired
    private ClienteleReconciliationMapper dao;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return dao.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(ClienteleReconciliation record) {
        return dao.insert(record);
    }

    @Override
    public int insertSelective(ClienteleReconciliation record) {
        return dao.insertSelective(record);
    }

    @Override
    public ClienteleReconciliation selectByPrimaryKey(Long id) {
        return dao.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(ClienteleReconciliation record) {
        return dao.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ClienteleReconciliation record) {
        return dao.updateByPrimaryKey(record);
    }

    @Override
    public int queryByCount(ClienteleReconciliationVo record) {
        return dao.queryByCount(record);
    }

    @Override
    public List<ClienteleReconciliation> queryByPage(ClienteleReconciliationVo record) {
        return dao.queryByPage(record);
    }
}
